package com.zuxia.iDao;

import java.util.List;

import com.zuxia.po.Positioninfo;

public interface PositioninfoDAOI {

	public abstract void save(Positioninfo transientInstance);

	public abstract void delete(Positioninfo persistentInstance);

	public abstract Positioninfo findById(java.lang.Integer id);

	public abstract List findByExample(Positioninfo instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByPtIname(Object ptIname);

	public abstract List findByPtIrequire(Object ptIrequire);

	public abstract List findAll();
	
	public abstract List showPositioninfo();
	/**
	 * 只查询部门对应的空闲职业的id和name
	 * 谌华勇
	 *2018年11月14日上午10:07:07
	 */
	public abstract List showPositionOnlyIdAndName(String dpIid);

	public abstract Positioninfo merge(Positioninfo detachedInstance);

	public abstract void attachDirty(Positioninfo instance);

	public abstract void attachClean(Positioninfo instance);

	public abstract Positioninfo showIdPositioninfo(java.lang.Integer id);
	
	
	//zhang--添加的方法
	public abstract Boolean add(Positioninfo positioninfo);
}